package com.mawc.equipower;

import com.mawc.equipower.socket2.SocketServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;


/**
 * @ClassName APp
 * @ProjectName equippower
 * @Description
 * @Author 马文才
 * @Date 2021.10.30 10:17
 */
@SpringBootApplication
@MapperScan(basePackages = "com.mawc.equipower.mapper")
public class App {
    public static void main(String[] args) {
        ApplicationContext run = SpringApplication.run(App.class, args);
        run.getBean(SocketServer.class).start();
    }
}
